package com.haiyangwang1.lesson2;
public class Salary {
    public String name;
    public String address;
    public int SSN;
    public int number;
    public float salary;

    public void mailCheck() {
        System.out.println("将员⼯" + this.name + "的⽀票寄到 " + this.address);
    }
    public float computePay() {
        return (float) (this.salary / 12.0);
    }
}
